package com.example.cfhkmanageapi.entity;

import java.util.ArrayList;
import java.util.List;


public class MenuEntity extends BaseEntity {
    private Integer menuId;
    private String menuName;
    private Integer menuClass;
    private String menuUrl;
    private Integer menuLeve;
    private Integer menuType;
    private List<MenuEntity> menus = new ArrayList<>();

    public List<MenuEntity> getMenus() {
        return menus;
    }

    public void setMenus(List<MenuEntity> menus) {
        this.menus = menus;
    }

    public Integer getMenuId() {
        return menuId;
    }

    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public Integer getMenuClass() {
        return menuClass;
    }

    public void setMenuClass(Integer menuClass) {
        this.menuClass = menuClass;
    }

    public String getMenuUrl() {
        return menuUrl;
    }

    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl;
    }

    public Integer getMenuLeve() {
        return menuLeve;
    }

    public void setMenuLeve(Integer menuLeve) {
        this.menuLeve = menuLeve;
    }

    public Integer getMenuType() {
        return menuType;
    }

    public void setMenuType(Integer menuType) {
        this.menuType = menuType;
    }

    @Override
    public String toString() {
        return "MenuEntity{" +
                "menuId=" + menuId +
                ", menuName='" + menuName + '\'' +
                ", menuClass=" + menuClass +
                ", menuUrl='" + menuUrl + '\'' +
                ", menuLeve=" + menuLeve +
                ", menuType=" + menuType +
                ", menus=" + menus +
                '}';
    }
}
